﻿using Feifansoft.Core.Common.AutoInject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;

namespace Feifansoft.Core.Authentication
{
    /// <summary>
    /// 认证服务
    /// </summary>
    public interface IJwtService : IAutoInject
    {
        /// <summary>
        /// 根据用户信息，获取token
        /// </summary>
        /// <param name="claims"></param>
        /// <returns></returns>
        string GetJwtToken(Claim[] claims);
    }
}
